import types from '../../consts/actionTypes';

const queryThreedState = md5 => ({
    type: types.resources.QUERY_THREED_STATE, payload: md5,
});

const requestResource = resourceId => ({
    type: types.resources.REQUEST_RESOURCE, payload: resourceId,
});

const importOtherResource = resourceId => ({
    type: types.resources.IMPORT_OTHER_RESOURCE, payload: resourceId,
});


export default {
    queryThreedState,
    requestResource,
    importOtherResource
};
